import React from 'react'
import Provider from '@@/core/plugin-access/Provider'
const accessStrictMode = false;

export function accessProvider(element, {routes}){
    const props = {
            routes,
            accessStrictMode
        }
    return <Provider {...props}>{element}</Provider>
}